package com.wms.service;

import com.wms.entity.StockTakingTaskDetailGroup;

public interface ReviewAdjustmentsDetailGroupService {
    /**
     * 根据任务编码查询审核调整单详情(分组)
     * @param code
     * @return
     */
    StockTakingTaskDetailGroup queryReviewAdjustmentsDetailGroup(String code);

    /**
     * 更新审核状态为完成调整(对应的status改为已完成盘点)
     * @param code
     * @param auditOpinion
     * @param auditUserId
     * @return
     */
    int updateTaskAuditStatusByFinishReview(String code, String auditOpinion, int auditUserId);

    /**
     * 打回重盘(对应的status改为已作废)
     * @param taskCode
     * @param auditOpinion
     * @param userId
     * @return
     */
    int updateTaskAuditStatusByNoFinishReview(String taskCode, String auditOpinion, int userId);
}
